<template>
  <div>
      <h1>国内新闻</h1>
                <van-button @click="go_btn">更多</van-button>

      <ul>
          <li v-for="i in form">{{i.title}}</li>
      </ul>
  </div>
</template>

<script>
export default {
data(){
    return{
        form:[]
    }
},
methods:{
    btn(){
        this.axios.get('newn').then(res=>{
            this.form=res.data.list
        })
    },
    go_btn(){
        this.$router.push('/new2')
    }
    },
mounted(){
    this.btn()
}
}
</script>

<style>

</style>

